<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">

<h:head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="css/default.css" rel="stylesheet" type="text/css" />
<link href="css/posicionamento.css" rel="stylesheet" type="text/css" />
<link href="css/estilo.css" rel="stylesheet" type="text/css" />
<title>LavaJet</title>
</h:head>
<h:body>
	<h:form action="#{temaBean.mudaValor}">

		<h:panelGrid columns="2" cellpadding="5">

			<p:selectOneMenu value="#{temaBean.tema}" valueChangeListener="#{temaBean.mudaValor}"
			 onchange = "submit()" immediate="true">

				<f:selectItem itemLabel="start" itemValue="start" />

				<f:selectItem itemLabel="glass-x" itemValue="glass-x" />

				<f:selectItem itemLabel="cupertino" itemValue="cupertino" />

				<f:selectItem itemLabel="mint-choc" itemValue="mint-choc" />

			</p:selectOneMenu>

		</h:panelGrid>
	</h:form>
	

</h:body>
</html>